Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Housekeeping] Bubble up errors on fetching outputs + remove URL blob from GetExecutionData response #4724

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pvditt
Copy link
Contributor

@pvditt pvditt commented Jan 13, 2024

Tracking issue

#4723

Why are the changes needed?

When remote store reads fail in GetOutputs or GetInputs, errors are not bubbled up - returning the URL blob to the client instead. However, the URL blob is deprecated. Sending a clear error status improves clarity.

What changes were proposed in this pull request?

  • Bubble up errors when fetching Input and Output for workflow, node and task executions instead of returning empty values.
  • Remove UrlBlob utilization when fetching Input and Output for workflow, node and task execution

How was this patch tested?

Added/updated unit tests

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Copy link

codecov bot commented Jan 13, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (38d1833) 58.12% compared to head (4049091) 58.14%.

Files Patch % Lines
flyteadmin/pkg/manager/impl/util/data.go 66.66% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4724      +/-   ##
==========================================
+ Coverage   58.12%   58.14%   +0.01%     
==========================================
  Files         626      626              
  Lines       53786    53747      -39     
==========================================
- Hits        31263    31249      -14     
+ Misses      20014    19998      -16     
+ Partials     2509     2500       -9     
Flag Coverage Δ
unittests 58.14% <79.16%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant